package command;

import machine.AgriculturalMachine;

// 具体命令 - 开始工作命令
public class StartCommand implements Command {
    private AgriculturalMachine machine;

    public StartCommand(AgriculturalMachine machine) {
        this.machine = machine;
    }

    @Override
    public void execute() {
        machine.start();
    }

    @Override
    public void undo() {

    }

    @Override
    public String getDescription() {
        return "";
    }
}
